package com.css.openapi.BO;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class BankCardVerifyReq {

    @NotBlank(message = "流水号不能为空")
    @ApiModelProperty(value = "第三方生成流水号；保证平台内唯一")
    @JsonProperty("outRequestId")
    private String outRequestId;


    @ApiModelProperty(value = "电话号码")
    @JsonProperty("phoneNo")
    private String phoneNo;


    @NotBlank(message = "证件类型不能为空")
    @ApiModelProperty(value = "证件类型")
    @JsonProperty("certType")
    private String certType;


    @ApiModelProperty(value = "证件号码")
    @JsonProperty("certNo")
    private String certNo;


    @NotBlank(message = "姓名不能为空")
    @ApiModelProperty(value = "姓名")
    @JsonProperty("name")
    private String name;


    @ApiModelProperty(value = "卡号")
    @JsonProperty("cardNo")
    private String cardNo;
}
